package com.zengqingfa.examples.mybatisplus.strategy.impl;

import com.zengqingfa.examples.mybatisplus.enums.ProcessTypeEnum;
import com.zengqingfa.examples.mybatisplus.strategy.ProcessStrategy;
import org.springframework.stereotype.Component;

/**
 *
 * @fileName: CreateWarehouseStrategy
 * @author: zengqf3
 * @date: 2021-4-8 17:08
 * @description:
 */
@Component
public class UpdateWarehouseStrategy implements ProcessStrategy {

    @Override
    public ProcessTypeEnum getProcessTypeEnum() {
        return ProcessTypeEnum.UPDATE_WAREHOUSE;
    }

    @Override
    public String callBack(Long processId) {
        System.out.println("UpdateWarehouseStrategy....");
        return "UpdateWarehouseStrategy";
    }
}
